<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <title>My JSP 'welcome.jsp' starting page</title>

	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->

  </head>
  
  <body>  
  <%@include file="checkLogin.jsp" %>
<%--   <%
    //session.setMaxInactiveInterval(30);
  	String u=(String)session.getAttribute("USER_LOGIN");
  	if(u==null){
  		out.print("<script>alert('您还没有登录，滚');location.replace('login.jsp');</script>");
  		return;//!!!!!!!!!!!!!!!
  	}
   %>
    <h1>欢迎你 <%=u%></h1> --%>
	<%-- <%
	   out.print(request.getParameter("uname"));
	 %> --%>
	
	<p>
	<a href="students.jsp">查看学员</a>&nbsp;
	<a href="studentSearchServlet">分页查看学员</a>
	<a href="subjects.jsp">查看课程</a>
	 <%=session.getId() %>
	 <a href="logout.jsp">退出</a>
	</p>
  </body>
</html>
